.class public Lcom/instagram/android/fragment/gk;
.super Lcom/instagram/e/b/c;
.source "SuggestedUserFragment.java"

# interfaces
.implements Lcom/instagram/a/b;


# instance fields
.field private Z:Z

.field private aa:Z

.field private ab:Lcom/instagram/android/fragment/gr;

.field private ac:Landroid/content/BroadcastReceiver;

.field private ad:Landroid/content/BroadcastReceiver;

.field private i:Lcom/instagram/android/a/z;


# direct methods
.method public constructor <init>()V
    .locals 2

    .prologue
    .line 43
    invoke-direct {p0}, Lcom/instagram/e/b/c;-><init>()V

    .line 58
    new-instance v0, Lcom/instagram/android/fragment/gr;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lcom/instagram/android/fragment/gr;-><init>(Lcom/instagram/android/fragment/gk;Lcom/instagram/android/fragment/gl;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/gk;->ab:Lcom/instagram/android/fragment/gr;

    .line 60
    new-instance v0, Lcom/instagram/android/fragment/gl;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/gl;-><init>(Lcom/instagram/android/fragment/gk;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/gk;->ac:Landroid/content/BroadcastReceiver;

    .line 273
    new-instance v0, Lcom/instagram/android/fragment/gq;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/gq;-><init>(Lcom/instagram/android/fragment/gk;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/gk;->ad:Landroid/content/BroadcastReceiver;

    return-void
.end method

.method private Z()Z
    .locals 2

    .prologue
    .line 203
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gk;->i()Landroid/os/Bundle;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gk;->i()Landroid/os/Bundle;

    move-result-object v0

    const-string v1, "com.instagram.android.login.fragment.RegisterFragment.ARGUMENT_IS_SIGN_UP_FLOW"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method static synthetic a(Lcom/instagram/android/fragment/gk;)Lcom/instagram/android/a/z;
    .locals 1
    .parameter

    .prologue
    .line 43
    iget-object v0, p0, Lcom/instagram/android/fragment/gk;->i:Lcom/instagram/android/a/z;

    return-object v0
.end method

.method private a(Z)V
    .locals 6
    .parameter

    .prologue
    .line 120
    iget-boolean v0, p0, Lcom/instagram/android/fragment/gk;->aa:Z

    if-eqz v0, :cond_0

    if-eqz p1, :cond_2

    :cond_0
    iget-boolean v0, p0, Lcom/instagram/android/fragment/gk;->Z:Z

    if-nez v0, :cond_2

    .line 122
    if-nez p1, :cond_1

    invoke-direct {p0}, Lcom/instagram/android/fragment/gk;->Z()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 123
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/nux/a/a;->q()V

    .line 126
    :cond_1
    new-instance v0, Lcom/instagram/android/d/e/ad;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gk;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gk;->u()Landroid/support/v4/app/aj;

    move-result-object v2

    const/4 v3, 0x0

    invoke-direct {p0}, Lcom/instagram/android/fragment/gk;->Z()Z

    move-result v4

    new-instance v5, Lcom/instagram/android/fragment/gn;

    invoke-direct {v5, p0, p1}, Lcom/instagram/android/fragment/gn;-><init>(Lcom/instagram/android/fragment/gk;Z)V

    invoke-direct/range {v0 .. v5}, Lcom/instagram/android/d/e/ad;-><init>(Landroid/content/Context;Landroid/support/v4/app/aj;IZLcom/instagram/android/d/j/f;)V

    invoke-virtual {v0}, Lcom/instagram/android/d/e/ad;->g()V

    .line 182
    :cond_2
    return-void
.end method

.method static synthetic a(Lcom/instagram/android/fragment/gk;Z)Z
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 43
    iput-boolean p1, p0, Lcom/instagram/android/fragment/gk;->aa:Z

    return p1
.end method

.method static synthetic b(Lcom/instagram/android/fragment/gk;)Lcom/instagram/android/fragment/gr;
    .locals 1
    .parameter

    .prologue
    .line 43
    iget-object v0, p0, Lcom/instagram/android/fragment/gk;->ab:Lcom/instagram/android/fragment/gr;

    return-object v0
.end method

.method static synthetic b(Lcom/instagram/android/fragment/gk;Z)Z
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 43
    iput-boolean p1, p0, Lcom/instagram/android/fragment/gk;->Z:Z

    return p1
.end method

.method static synthetic c(Lcom/instagram/android/fragment/gk;)Landroid/content/BroadcastReceiver;
    .locals 1
    .parameter

    .prologue
    .line 43
    iget-object v0, p0, Lcom/instagram/android/fragment/gk;->ac:Landroid/content/BroadcastReceiver;

    return-object v0
.end method

.method static synthetic c(Lcom/instagram/android/fragment/gk;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 43
    invoke-direct {p0, p1}, Lcom/instagram/android/fragment/gk;->a(Z)V

    return-void
.end method

.method static synthetic d(Lcom/instagram/android/fragment/gk;)Z
    .locals 1
    .parameter

    .prologue
    .line 43
    invoke-direct {p0}, Lcom/instagram/android/fragment/gk;->Z()Z

    move-result v0

    return v0
.end method

.method static synthetic e(Lcom/instagram/android/fragment/gk;)Z
    .locals 1
    .parameter

    .prologue
    .line 43
    iget-boolean v0, p0, Lcom/instagram/android/fragment/gk;->Z:Z

    return v0
.end method

.method static synthetic f(Lcom/instagram/android/fragment/gk;)Z
    .locals 1
    .parameter

    .prologue
    .line 43
    iget-boolean v0, p0, Lcom/instagram/android/fragment/gk;->aa:Z

    return v0
.end method


# virtual methods
.method protected X()Lcom/instagram/android/a/z;
    .locals 5

    .prologue
    .line 267
    iget-object v0, p0, Lcom/instagram/android/fragment/gk;->i:Lcom/instagram/android/a/z;

    if-nez v0, :cond_0

    .line 268
    new-instance v1, Lcom/instagram/android/a/z;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gk;->j()Landroid/support/v4/app/j;

    move-result-object v2

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gk;->u()Landroid/support/v4/app/aj;

    move-result-object v3

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gk;->m()Landroid/support/v4/app/r;

    move-result-object v4

    invoke-direct {p0}, Lcom/instagram/android/fragment/gk;->Z()Z

    move-result v0

    if-nez v0, :cond_1

    const/4 v0, 0x1

    :goto_0
    invoke-direct {v1, v2, v3, v4, v0}, Lcom/instagram/android/a/z;-><init>(Landroid/content/Context;Landroid/support/v4/app/aj;Landroid/support/v4/app/r;Z)V

    iput-object v1, p0, Lcom/instagram/android/fragment/gk;->i:Lcom/instagram/android/a/z;

    .line 270
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/fragment/gk;->i:Lcom/instagram/android/a/z;

    return-object v0

    .line 268
    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public Y()V
    .locals 2

    .prologue
    .line 292
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gk;->j_()Landroid/widget/ListView;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->smoothScrollToPosition(I)V

    .line 293
    return-void
.end method

.method public a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 2
    .parameter
    .parameter
    .parameter

    .prologue
    .line 199
    sget v0, Lcom/facebook/ax;->layout_listview_with_progress:I

    const/4 v1, 0x0

    invoke-virtual {p1, v0, p2, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v0

    return-object v0
.end method

.method public a()Lcom/instagram/a/a;
    .locals 1

    .prologue
    .line 213
    new-instance v0, Lcom/instagram/android/fragment/go;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/go;-><init>(Lcom/instagram/android/fragment/gk;)V

    return-object v0
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 2
    .parameter

    .prologue
    .line 71
    invoke-super {p0, p1}, Lcom/instagram/e/b/c;->a(Landroid/os/Bundle;)V

    .line 73
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gk;->X()Lcom/instagram/android/a/z;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/instagram/android/fragment/gk;->a(Landroid/widget/ListAdapter;)V

    .line 77
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gk;->X()Lcom/instagram/android/a/z;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/fragment/gm;

    invoke-direct {v1, p0}, Lcom/instagram/android/fragment/gm;-><init>(Lcom/instagram/android/fragment/gk;)V

    invoke-virtual {v0, v1}, Lcom/instagram/android/a/z;->registerDataSetObserver(Landroid/database/DataSetObserver;)V

    .line 94
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/instagram/android/fragment/gk;->a(Z)V

    .line 96
    return-void
.end method

.method public a(Ljava/lang/Iterable;)V
    .locals 5
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Iterable",
            "<",
            "Lcom/instagram/android/model/b/e;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 296
    new-instance v0, Lcom/instagram/android/d/e/g;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gk;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gk;->u()Landroid/support/v4/app/aj;

    move-result-object v2

    const/4 v3, 0x1

    const/4 v4, 0x0

    invoke-direct {v0, v1, v2, v3, v4}, Lcom/instagram/android/d/e/g;-><init>(Landroid/content/Context;Landroid/support/v4/app/aj;ILcom/instagram/android/d/j/f;)V

    .line 297
    invoke-virtual {v0, p1}, Lcom/instagram/android/d/e/g;->a(Ljava/lang/Iterable;)V

    .line 298
    return-void
.end method

.method public d_()Ljava/lang/String;
    .locals 1

    .prologue
    .line 302
    const-string v0, "suggested_users"

    return-object v0
.end method

.method public e_()V
    .locals 2

    .prologue
    .line 186
    iget-boolean v0, p0, Lcom/instagram/android/fragment/gk;->Z:Z

    invoke-virtual {p0}, Lcom/instagram/android/fragment/gk;->v()Landroid/view/View;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/instagram/android/widget/s;->a(ZLandroid/view/View;)V

    .line 187
    invoke-super {p0}, Lcom/instagram/e/b/c;->e_()V

    .line 188
    return-void
.end method

.method public g_()V
    .locals 0

    .prologue
    .line 208
    invoke-super {p0}, Lcom/instagram/e/b/c;->g_()V

    .line 209
    return-void
.end method

.method public w()V
    .locals 4

    .prologue
    .line 100
    invoke-super {p0}, Lcom/instagram/e/b/c;->w()V

    .line 101
    invoke-direct {p0}, Lcom/instagram/android/fragment/gk;->Z()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 102
    const/4 v0, 0x1

    sput-boolean v0, Lcom/instagram/android/nux/SignedOutFragmentActivity;->s:Z

    .line 104
    :cond_0
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gk;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    .line 105
    iget-object v1, p0, Lcom/instagram/android/fragment/gk;->ad:Landroid/content/BroadcastReceiver;

    new-instance v2, Landroid/content/IntentFilter;

    const-string v3, "ActionBarService.action_bar_clicked"

    invoke-direct {v2, v3}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v1, v2}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)V

    .line 106
    iget-object v1, p0, Lcom/instagram/android/fragment/gk;->ad:Landroid/content/BroadcastReceiver;

    new-instance v2, Landroid/content/IntentFilter;

    const-string v3, "ActionBarService.action_bar_refresh_click"

    invoke-direct {v2, v3}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v1, v2}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)V

    .line 108
    return-void
.end method

.method public x()V
    .locals 2

    .prologue
    .line 112
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gk;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/fragment/gk;->ad:Landroid/content/BroadcastReceiver;

    invoke-virtual {v0, v1}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;)V

    .line 113
    invoke-direct {p0}, Lcom/instagram/android/fragment/gk;->Z()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 114
    const/4 v0, 0x0

    sput-boolean v0, Lcom/instagram/android/nux/SignedOutFragmentActivity;->s:Z

    .line 116
    :cond_0
    invoke-super {p0}, Lcom/instagram/e/b/c;->x()V

    .line 117
    return-void
.end method

.method public y()V
    .locals 2

    .prologue
    .line 192
    invoke-virtual {p0}, Lcom/instagram/android/fragment/gk;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/fragment/gk;->ac:Landroid/content/BroadcastReceiver;

    invoke-virtual {v0, v1}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;)V

    .line 193
    invoke-super {p0}, Lcom/instagram/e/b/c;->y()V

    .line 194
    return-void
.end method
